import Person from './person.js';
class Worker extends Person{
    constructor(name,age){
        super(name,age);
    }
    introduce(){
        let result=super.introduce();
        result+=` I am a Teacher. I have a job.`;
        return result;
    }
}
export default Worker;
